[INFO] cloning repository https://github.com/peerhenry/rust_hello_triangle
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/peerhenry/rust_hello_triangle" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpeerhenry%2Frust_hello_triangle", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpeerhenry%2Frust_hello_triangle'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 776cd13d326da862c3062e7752d0289af0adcc50
[INFO] checking peerhenry/rust_hello_triangle against master#d4be8efc6296bace5b1e165f1b34d3c6da76aa8e for pr-110141
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpeerhenry%2Frust_hello_triangle" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/peerhenry/rust_hello_triangle on toolchain d4be8efc6296bace5b1e165f1b34d3c6da76aa8e
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d4be8efc6296bace5b1e165f1b34d3c6da76aa8e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/peerhenry/rust_hello_triangle
[INFO] finished tweaking git repo https://github.com/peerhenry/rust_hello_triangle
[INFO] tweaked toml for git repo https://github.com/peerhenry/rust_hello_triangle written to /workspace/builds/worker-2-tc1/source/Cargo.toml
[INFO] crate git repo https://github.com/peerhenry/rust_hello_triangle already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d4be8efc6296bace5b1e165f1b34d3c6da76aa8e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded cocoa v0.9.2
[INFO] [stderr]   Downloaded glutin v0.9.2
[INFO] [stderr]   Downloaded gdi32-sys v0.1.2
[INFO] [stderr]   Downloaded core-graphics v0.8.2
[INFO] [stderr]   Downloaded wayland-kbd v0.9.1
[INFO] [stderr]   Downloaded user32-sys v0.1.3
[INFO] [stderr]   Downloaded gl_generator v0.5.5
[INFO] [stderr]   Downloaded dwmapi-sys v0.1.1
[INFO] [stderr]   Downloaded wayland-sys v0.9.10
[INFO] [stderr]   Downloaded if_chain v0.1.3
[INFO] [stderr]   Downloaded wayland-client v0.9.10
[INFO] [stderr]   Downloaded wayland-window v0.7.0
[INFO] [stderr]   Downloaded wayland-scanner v0.9.10
[INFO] [stderr]   Downloaded wayland-protocols v0.9.10
[INFO] [stderr]   Downloaded winit v0.7.6
[INFO] [stderr]   Downloaded fbx3d v0.1.0
[INFO] [stderr]   Downloaded bytepack v0.1.1
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:97d61d7686bf65f8ecb15491ab51835e82dc9176a96a831f143a431b191fc501" "/opt/rustwide/cargo-home/bin/cargo" "+d4be8efc6296bace5b1e165f1b34d3c6da76aa8e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 6c63880cfc273b0266302254094c469b923788d32dada9587abec71d76d042a9
[INFO] running `Command { std: "docker" "start" "-a" "6c63880cfc273b0266302254094c469b923788d32dada9587abec71d76d042a9", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "6c63880cfc273b0266302254094c469b923788d32dada9587abec71d76d042a9", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "6c63880cfc273b0266302254094c469b923788d32dada9587abec71d76d042a9", kill_on_drop: false }`
[INFO] [stdout] 6c63880cfc273b0266302254094c469b923788d32dada9587abec71d76d042a9
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:97d61d7686bf65f8ecb15491ab51835e82dc9176a96a831f143a431b191fc501" "/opt/rustwide/cargo-home/bin/cargo" "+d4be8efc6296bace5b1e165f1b34d3c6da76aa8e" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 9c3491f252a279b33f4f98e3feae49a3c3be1d079251f13a3837a914821d60f4
[INFO] running `Command { std: "docker" "start" "-a" "9c3491f252a279b33f4f98e3feae49a3c3be1d079251f13a3837a914821d60f4", kill_on_drop: false }`
[INFO] [stderr]    Compiling num-traits v0.2.5
[INFO] [stderr]     Checking libc v0.2.43
[INFO] [stderr]    Compiling siphasher v0.2.3
[INFO] [stderr]    Compiling bitflags v0.9.1
[INFO] [stderr]    Compiling version_check v0.1.4
[INFO] [stderr]    Compiling serde v0.9.15
[INFO] [stderr]    Compiling dtoa v0.4.3
[INFO] [stderr]    Compiling xml-rs v0.6.1
[INFO] [stderr]    Compiling phf_shared v0.7.22
[INFO] [stderr]    Compiling itoa v0.3.4
[INFO] [stderr]    Compiling phf v0.7.22
[INFO] [stderr]    Compiling cfg-if v0.1.5
[INFO] [stderr]    Compiling lazy_static v1.1.0
[INFO] [stderr]    Compiling log v0.4.3
[INFO] [stderr]     Checking lazy_static v0.2.11
[INFO] [stderr]    Compiling rand v0.4.2
[INFO] [stderr]    Compiling winapi-build v0.1.1
[INFO] [stderr]    Compiling wayland-scanner v0.9.10
[INFO] [stderr]    Compiling kernel32-sys v0.2.2
[INFO] [stderr]    Compiling khronos_api v2.2.0
[INFO] [stderr]    Compiling phf_generator v0.7.22
[INFO] [stderr]    Compiling phf_codegen v0.7.22
[INFO] [stderr]    Compiling num-traits v0.1.43
[INFO] [stderr]     Checking nodrop v0.1.12
[INFO] [stderr]     Checking byteorder v1.2.4
[INFO] [stderr]     Checking arrayvec v0.4.7
[INFO] [stderr]     Checking crossbeam-utils v0.2.2
[INFO] [stderr]     Checking rand v0.3.22
[INFO] [stderr]    Compiling target_build_utils v0.3.1
[INFO] [stderr]    Compiling wayland-client v0.9.10
[INFO] [stderr]     Checking winapi v0.2.8
[INFO] [stderr]    Compiling num-integer v0.1.39
[INFO] [stderr]     Checking memoffset v0.2.1
[INFO] [stderr]    Compiling proc-macro2 v0.4.12
[INFO] [stderr]    Compiling bitflags v1.0.3
[INFO] [stderr]    Compiling rayon-core v1.4.1
[INFO] [stderr]     Checking scopeguard v0.3.3
[INFO] [stderr]     Checking crossbeam-epoch v0.3.1
[INFO] [stderr]    Compiling xml-rs v0.7.0
[INFO] [stderr]    Compiling wayland-protocols v0.9.10
[INFO] [stderr]    Compiling pkg-config v0.3.13
[INFO] [stderr]    Compiling cc v1.0.31
[INFO] [stderr]    Compiling unicode-xid v0.1.0
[INFO] [stderr]    Compiling gl_generator v0.9.0
[INFO] [stderr]    Compiling serde_json v0.9.10
[INFO] [stderr]    Compiling x11-dl v2.18.3
[INFO] [stderr]     Checking fs2 v0.2.5
[INFO] [stderr]     Checking crossbeam-deque v0.2.0
[INFO] [stderr]    Compiling log v0.3.9
[INFO] [stderr]     Checking num_cpus v1.8.0
[INFO] [stderr]    Compiling miniz-sys v0.1.11
[INFO] [stderr]    Compiling khronos_api v1.0.1
[INFO] [stderr]    Compiling num-iter v0.1.37
[INFO] [stderr]    Compiling rayon v1.0.2
[INFO] [stderr]     Checking adler32 v1.0.3
[INFO] [stderr]    Compiling gl_generator v0.5.5
[INFO] [stderr]    Compiling gl v0.10.0
[INFO] [stderr]     Checking memmap v0.4.0
[INFO] [stderr]    Compiling quote v0.6.6
[INFO] [stderr]     Checking tempfile v2.2.0
[INFO] [stderr]     Checking shared_library v0.1.9
[INFO] [stderr]     Checking either v1.5.0
[INFO] [stderr]     Checking bitflags v0.7.0
[INFO] [stderr]    Compiling syn v0.14.8
[INFO] [stderr]     Checking deflate v0.7.18
[INFO] [stderr]     Checking inflate v0.4.3
[INFO] [stderr]     Checking color_quant v1.0.1
[INFO] [stderr]     Checking approx v0.1.1
[INFO] [stderr]     Checking lzw v0.10.0
[INFO] [stderr]    Compiling glutin v0.9.2
[INFO] [stderr]     Checking png v0.12.0
[INFO] [stderr]     Checking gif v0.10.0
[INFO] [stderr]     Checking cgmath v0.15.0
[INFO] [stderr]     Checking flate2 v0.2.20
[INFO] [stderr]     Checking jpeg-decoder v0.1.15
[INFO] [stderr]     Checking osmesa-sys v0.1.2
[INFO] [stderr]     Checking num-rational v0.1.42
[INFO] [stderr]     Checking scoped_threadpool v0.1.9
[INFO] [stderr]     Checking bytepack v0.1.1
[INFO] [stderr]     Checking if_chain v0.1.3
[INFO] [stderr]     Checking fbx3d v0.1.0
[INFO] [stderr]    Compiling num-derive v0.2.2
[INFO] [stderr]     Checking image v0.19.0
[INFO] [stderr]     Checking engine v0.1.0 (/opt/rustwide/workdir/lib/engine)
[INFO] [stdout] warning: unused import: `std::marker::PhantomData`
[INFO] [stdout]  --> lib/engine/src/shader_program.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 | use std::marker::PhantomData;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable pattern
[INFO] [stdout]    --> lib/engine/src/shader_program.rs:140:5
[INFO] [stdout]     |
[INFO] [stdout] 139 |     GL_FLOAT => return TypeId::of::<GLfloat>(),
[INFO] [stdout]     |     -------- matches any value
[INFO] [stdout] 140 |     GL_FLOAT_MAT4 => return TypeId::of::<Matrix4<GLfloat>>(),
[INFO] [stdout]     |     ^^^^^^^^^^^^^ unreachable pattern
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unreachable_patterns)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable pattern
[INFO] [stdout]    --> lib/engine/src/shader_program.rs:141:5
[INFO] [stdout]     |
[INFO] [stdout] 139 |     GL_FLOAT => return TypeId::of::<GLfloat>(),
[INFO] [stdout]     |     -------- matches any value
[INFO] [stdout] 140 |     GL_FLOAT_MAT4 => return TypeId::of::<Matrix4<GLfloat>>(),
[INFO] [stdout] 141 |     _ => panic!("gl type not recognized: {}", gl_type)
[INFO] [stdout]     |     ^ unreachable pattern
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `GL_FLOAT`
[INFO] [stdout]    --> lib/engine/src/shader_program.rs:139:5
[INFO] [stdout]     |
[INFO] [stdout] 139 |     GL_FLOAT => return TypeId::of::<GLfloat>(),
[INFO] [stdout]     |     ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_GL_FLOAT`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `GL_FLOAT_MAT4`
[INFO] [stdout]    --> lib/engine/src/shader_program.rs:140:5
[INFO] [stdout]     |
[INFO] [stdout] 140 |     GL_FLOAT_MAT4 => return TypeId::of::<Matrix4<GLfloat>>(),
[INFO] [stdout]     |     ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_GL_FLOAT_MAT4`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `value`
[INFO] [stdout]    --> lib/engine/src/shader_program.rs:253:24
[INFO] [stdout]     |
[INFO] [stdout] 253 |   unsafe fn set(&self, value: T) {
[INFO] [stdout]     |                        ^^^^^ help: if this is intentional, prefix it with an underscore: `_value`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> lib/engine/src/shader_program.rs:96:9
[INFO] [stdout]    |
[INFO] [stdout] 96 |     let mut bufSize = 1;
[INFO] [stdout]    |         ----^^^^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `gl_type` is never read
[INFO] [stdout]   --> lib/engine/src/shader_program.rs:42:3
[INFO] [stdout]    |
[INFO] [stdout] 40 | pub struct Uniform {
[INFO] [stdout]    |            ------- field in this struct
[INFO] [stdout] 41 |   location: GLint,
[INFO] [stdout] 42 |   gl_type: GLenum
[INFO] [stdout]    |   ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Uniform` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_required_type_id` is never used
[INFO] [stdout]    --> lib/engine/src/shader_program.rs:137:4
[INFO] [stdout]     |
[INFO] [stdout] 137 | fn get_required_type_id(gl_type: GLenum) -> TypeId {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: getting the inner pointer of a temporary `CString`
[INFO] [stdout]   --> lib/engine/src/shader_program.rs:54:44
[INFO] [stdout]    |
[INFO] [stdout] 54 |   ($a:expr) => { CString::new($a).unwrap().as_ptr() }
[INFO] [stdout]    |                  ------------------------- ^^^^^^ this pointer will be invalid
[INFO] [stdout]    |                  |
[INFO] [stdout]    |                  this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime
[INFO] [stdout] ...
[INFO] [stdout] 65 |       let uniform_location = gl::GetUniformLocation(self.handle, gl_stringify!(name));
[INFO] [stdout]    |                                                                  ------------------- in this macro invocation
[INFO] [stdout]    |
[INFO] [stdout]    = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned
[INFO] [stdout]    = help: for more information, see https://doc.rust-lang.org/reference/destructors.html
[INFO] [stdout]    = note: `#[warn(temporary_cstring_as_ptr)]` on by default
[INFO] [stdout]    = note: this warning originates in the macro `gl_stringify` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `bufSize` should have a snake case name
[INFO] [stdout]   --> lib/engine/src/shader_program.rs:96:13
[INFO] [stdout]    |
[INFO] [stdout] 96 |     let mut bufSize = 1;
[INFO] [stdout]    |             ^^^^^^^ help: convert the identifier to snake case: `buf_size`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_snake_case)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `GL_FLOAT` should have a snake case name
[INFO] [stdout]    --> lib/engine/src/shader_program.rs:139:5
[INFO] [stdout]     |
[INFO] [stdout] 139 |     GL_FLOAT => return TypeId::of::<GLfloat>(),
[INFO] [stdout]     |     ^^^^^^^^ help: convert the identifier to snake case: `gl_float`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `GL_FLOAT_MAT4` should have a snake case name
[INFO] [stdout]    --> lib/engine/src/shader_program.rs:140:5
[INFO] [stdout]     |
[INFO] [stdout] 140 |     GL_FLOAT_MAT4 => return TypeId::of::<Matrix4<GLfloat>>(),
[INFO] [stdout]     |     ^^^^^^^^^^^^^ help: convert the identifier to snake case: `gl_float_mat4`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 13 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `target_build_utils` (lib)
[INFO] [stderr] 
[INFO] [stderr] Caused by:
[INFO] [stderr]   process didn't exit successfully: `rustc --crate-name target_build_utils /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/target_build_utils-0.3.1/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no --cfg 'feature="default"' --cfg 'feature="serde_json"' -C metadata=d9290b9305c9e8ec -C extra-filename=-d9290b9305c9e8ec --out-dir /opt/rustwide/target/debug/deps -L dependency=/opt/rustwide/target/debug/deps --extern phf=/opt/rustwide/target/debug/deps/libphf-623e268e170ce88f.rmeta --extern serde_json=/opt/rustwide/target/debug/deps/libserde_json-4289cc15c27590bd.rmeta --cap-lints allow --cap-lints=forbid` (signal: 9, SIGKILL: kill)
[INFO] running `Command { std: "docker" "inspect" "9c3491f252a279b33f4f98e3feae49a3c3be1d079251f13a3837a914821d60f4", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "9c3491f252a279b33f4f98e3feae49a3c3be1d079251f13a3837a914821d60f4", kill_on_drop: false }`
[INFO] [stdout] 9c3491f252a279b33f4f98e3feae49a3c3be1d079251f13a3837a914821d60f4
